package com.pjbao.Service.user.dao;

import com.pjbao.Service.user.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by zero on 2016/10/1.
 */
public interface UserRepository extends JpaRepository<User,Integer> {
    public User findByWechatname(String wename);
    public User findByToken(String token);
}
